package com.j180.demo.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_user")
@ApiModel("用户对象")
public class UserBean implements Serializable {
    @TableId("uid")
    @ApiModelProperty("用户编号")
    private Integer id;
    @TableField("uname")
    @ApiModelProperty("用户名")
    private String userName;
    @TableField("pwd")
    @ApiModelProperty("密码")
    private String pwd;
}
